HTTP Cache-Control and Expires
· One min read
-
Cache-Control
overrideExpires
- Ref: RFC 9111
-
Cache-Control
supersedesExpires
-
Cache-Control
offers more flexibility and options thanExpires
-
Cache-Control
use relative amount of time (seconds)Cache-Control: max-age=3600
-
Expires
use date formatExpires: Thu, 01 Dec 1994 16:00:00 GMT